package cn.iocoder.yudao.module.biz.controller.admin.operationTicket.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 操作票 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class BizOperationTicketBaseVO {

    @ApiModelProperty(value = "任务名称")
    private String name;

    @ApiModelProperty(value = "部门id")
    private String deptName;

    @ApiModelProperty(value = "作业类型")
    private Integer type;

    @ApiModelProperty(value = "发令人")
    private String sendPeople;

    @ApiModelProperty(value = "操作人")
    private String operator;

    @ApiModelProperty(value = "监护人")
    private String guardian;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date endTime;

    @ApiModelProperty(value = "操作票图片")
    private String image;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date crateTime;

    @ApiModelProperty(value = "部门id")
    private String deptId;

}
